@import '~pc/styles/lib_mixins.less';
@import '~pc/styles/lib_screen.less';

.mainContainer {
  height: 100%;
  display: flex;
  flex-direction: column;
  .noSelect();

}

.header {
  width: 100%;
  height: 64px;
  flex-shrink: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: fade(#000, 90%);
  padding: 0 40px;
}

.container {
  flex: 1;
  display: flex;
  height: 0;
}

.left,
.right {
  width: 136px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.iconPre,
.iconNext {
  cursor: pointer;
}

.middle {
  flex: 1;
  overflow: hidden;

  .swiper {
    display: flex;
    height: 100%;
  }
}

.transition {
  transition: transform 0.3s;
}

.swiperItem {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotate {
  position: absolute;
  right: 16px;
  top: 60px;
  background: var(--tooltipBg);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
}

.prev:hover,
.next:hover {

  // TODO：Icons components are refined and removed in this way
  circle {
    fill: var(--primaryColor) !important;
  }
}

.download {
  display: flex;
  align-items: center;
  user-select: none;

  .btn {
    font-size: 12px;
    color: var(--thirdLevelText);
    display: flex;
    align-items: center;
    cursor: pointer;

    &:hover {
      color: var(--shadowColor);
    }

    &:active {

      color: var(--shadowColor);
    }
  }

  .suffix {
    display: flex;
    align-items: center;
    position: relative;
    top: -1px;
  }
}

@media screen and (max-width: @w-md) {

  .left,
  .right {
    display: none;
  }
}
